void create()
{
	write("start::create()\n");
}

void init()
{
	write("start::init()\n");

	add_action("do_help", "help", 1);
	add_action("do_time", "time", 1);
	add_action("do_prof", "prof", 1);
	write("welcome to the start room!\n");
	write("    Type 'look' to look around.\n"
			"    Type 'door xx' to open door xx.\n");
}

int do_help(string arg)
{
	write("    Comming Soon!");
	return 1;
}

int do_time(string arg)
{
	write(time() + ": Add a callout with delay " + arg + ".\n");

	call_out("callback", to_int(arg));

	return 1;
}

void callback(void)
{
	write(time() + ": Callback!\n");
}

int do_prof(string arg)
{
	"func_prof"->show_func_prof();
	return 1;
}
